-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Enabling DefaultAzureCredential for AuthenticationMode #2578
base: master
Are you sure you want to change the base?
feat: Enabling DefaultAzureCredential for AuthenticationMode #2578
Conversation
Thank you for your contribution! 🙏 We will review it as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the configuration, 1 suggestion.
Can you also please open a PR for the docs?
Opened a PR https://github.com/promitor/docs/pull/67/files for relevant docs update |
@jayendranarumugam Mind fixing the code quality? |
@tomkerkhove, sure, this is relatively new to me. Please correct my understanding; we have to fix all the
|
It's fine if you just focus on the warnings, don't worry! ( |
@tomkerkhove hope now all resolved . Thanks for the help ! Can you take a look and merge this ? |
@jayendranarumugam Looks like we are not there yet, mind fixing build issue please? |
@tomkerkhove pushed updates, could you trigger the code scan and CI workflow now ? |
@tomkerkhove checked the latest failed logs on code quality which seems confusing me Earlier the code quality failed with
So after i renamed the variable as per the suggestion i.e But now i got the error to undo it the old way
|
I believe these are the ones to tackle, no?
|
Yep, for these only i made some fix earlier but now the error is showing to undo the fix that i made and suggest to revert it back to normal Check the old error -> https://github.com/tomkerkhove/promitor/actions/runs/12007318471/job/33468659849 |
src/Promitor.Agents.Scraper/Discovery/StubResourceDiscoveryRepository.cs
Outdated
Show resolved
Hide resolved
src/Promitor.Integrations.AzureMonitor/HttpPipelinePolicies/RecordArmRateLimitMetricsPolicy.cs
Outdated
Show resolved
Hide resolved
...or.Integrations.AzureMonitor/RequestHandlers/AzureResourceManagerThrottlingRequestHandler.cs
Outdated
Show resolved
Hide resolved
src/Promitor.Tests.Unit/Validation/Authentication/AzureAuthenticationValidationStepTests.cs
Outdated
Show resolved
Hide resolved
@tomkerkhove could you pls review this now ? |
Enabling
DefaultAzureCredential
forAuthenticationMode
can support local debug/development operations and also can work on several Azure resources as wellWith this improvement, we can now able to hit the default switch statement which earlier not possible
I successfully tested this from my local and validated the Unit Test cases. Please let me know your thoughts on this feature